//
//  TZNetCell.m
//  wangYiLottery
//
//  Created by mac on 16/3/30.
//  Copyright © 2016年 tz. All rights reserved.
//

#import "TZNetCell.h"
#import "TZNetModel.h"
@interface TZNetCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@end
@implementation TZNetCell

- (void)setModel:(TZNetModel *)model {
    _model = model;
    self.iconView.layer.cornerRadius = 10;
    self.iconView.layer.masksToBounds = YES;
    self.iconView.image = [UIImage imageNamed:model.icon];
    self.titleLabel.text = model.title;
}

- (void)awakeFromNib {
    // Initialization code
}



@end
